package net.kevin.db.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import net.kevin.db.model.Index;

public class IndexMapper implements RowMapper<Index>{

	@Override
	public Index mapRow(ResultSet rs, int rowNum) throws SQLException {
		Index index = new Index();
		MapperTool.mapper(rs, index);
		return index;
	}
}
